import { createRouter, createWebHashHistory } from 'vue-router'
import login from "../views/login.vue"

const router = createRouter({
  history: createWebHashHistory(),
  routes: [{
    path: "/",
    component: login
  },
  {
    path:"/start",
    component:()=>import("../views/start.vue"),
    children:[
      {
        path:"/start/page",
        component:()=>import("../views/HTbody.vue")
      },
      {
        path:"/start/sp",
        component:()=>import("../views/sp.vue"),
        children:[
          {
            path:"/start/sp/list",
            component:()=>import("../views/sp/splist.vue"),
          },
          {
            path:"/start/sp/fl",
            component:()=>import("../views/sp/spfl.vue")
          },
          {
            path:"/start/sp/pp",
            component:()=>import("../views/sp/sppp.vue")
          },
          {
            path:"/start/sp/alldd",
            component:()=>import("../views/dd/alldd.vue")
          },
          {
            path:"/start/sp/ddpj",
            component:()=>import("../views/dd/ddpj.vue")
          }
        ]
      }
    ]
  }
  ]
})

export default router
